//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03A
TN_Widget.CreateTable([['Little River Band','Capitol Theatre - Wheeling','Wheeling, WV','Sunday','7/13/2025','8:00 PM','7073220','Little-River-Band-7-13-2025'],['Buddy Guy','Capitol Theatre - Wheeling','Wheeling, WV','Wednesday','7/16/2025','7:30 PM','7015022','Buddy-Guy-7-16-2025'],['Arrival From Sweden: The Music of Abba','Capitol Theatre - Wheeling','Wheeling, WV','Saturday','7/19/2025','8:00 PM','6978578','Arrival-From-Sweden--The-Music-of-Abba-7-19-2025'],['Kidz Bop Live','Capitol Theatre - Wheeling','Wheeling, WV','Saturday','7/26/2025','7:30 PM','7210377','Kidz-Bop-Live-7-26-2025'],['In This Moment','Capitol Theatre - Wheeling','Wheeling, WV','Sunday','8/3/2025','6:30 PM','7141740','In-This-Moment-8-3-2025'],['Theresa Caputo','Capitol Theatre - Wheeling','Wheeling, WV','Sunday','8/10/2025','3:00 PM','7092647','Theresa-Caputo-8-10-2025'],['Kansas - The Band','Capitol Theatre - Wheeling','Wheeling, WV','Friday','8/22/2025','7:30 PM','7157973','Kansas---The-Band-8-22-2025'],['Pink Floyd Laser Spectacular','Capitol Theatre - Wheeling','Wheeling, WV','Sunday','8/24/2025','8:00 PM','7024648','Pink-Floyd-Laser-Spectacular-8-24-2025'],['Steep Canyon Rangers','Capitol Theatre - Wheeling','Wheeling, WV','Friday','9/12/2025','7:00 PM','7175598','Steep-Canyon-Rangers-9-12-2025'],['Celtic Thunder','Capitol Theatre - Wheeling','Wheeling, WV','Friday','9/26/2025','7:30 PM','7043387','Celtic-Thunder-9-26-2025'],['Killer Queen','Capitol Theatre - Wheeling','Wheeling, WV','Thursday','10/2/2025','8:00 PM','7163558','Killer-Queen-10-2-2025'],['Rock & Roll Doo Wop ','Capitol Theatre - Wheeling','Wheeling, WV','Saturday','10/4/2025','7:00 PM','7082443','Rock---Roll-Doo-Wop--10-4-2025'],['Elvis Costello and The Imposters ','Capitol Theatre - Wheeling','Wheeling, WV','Tuesday','10/7/2025','8:00 PM','7106742','Elvis-Costello-and-The-Imposters--10-7-2025'],['CoComelon Live!','Capitol Theatre - Wheeling','Wheeling, WV','Wednesday','10/8/2025','6:00 PM','6996160','CoComelon-Live--10-8-2025'],['MasterChef All-Stars Live!','Capitol Theatre - Wheeling','Wheeling, WV','Thursday','10/9/2025','7:00 PM','7124870','MasterChef-All-Stars-Live--10-9-2025'],['The Vampire Circus','Capitol Theatre - Wheeling','Wheeling, WV','Friday','10/10/2025','8:00 PM','7136013','The-Vampire-Circus-10-10-2025'],['Not Dead Yet! John Cleese and The Holy Grail at 50','Capitol Theatre - Wheeling','Wheeling, WV','Sunday','10/12/2025','7:30 PM','7046446','Not-Dead-Yet--John-Cleese-and-The-Holy-Grail-at-50-10-12-2025'],['Gabby's Dollhouse Live!','Capitol Theatre - Wheeling','Wheeling, WV','Wednesday','11/5/2025','6:00 PM','7162124','Gabby-s-Dollhouse-Live--11-5-2025'],['Nutcracker! Magical Christmas Ballet','Capitol Theatre - Wheeling','Wheeling, WV','Thursday','11/6/2025','7:00 PM','7066789','Nutcracker--Magical-Christmas-Ballet-11-6-2025'],['Blippi Live','Capitol Theatre - Wheeling','Wheeling, WV','Tuesday','11/18/2025','6:00 PM','7194712','Blippi-Live-11-18-2025'],['Cirque du Canines','Capitol Theatre - Wheeling','Wheeling, WV','Sunday','12/21/2025','6:00 PM','6994533','Cirque-du-Canines-12-21-2025']],'Capitol Theatre Wheeling','http://www.ticketnetwork.com/ticket/Capitol-Theatre-Wheeling-events.aspx');